<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
	<h1>Create user</h1>
	<c:url var="saveUrl" value="/user" />
	<form:form modelAttribute="userAttribute" method="POST"
		action="${saveUrl}">
            <b>Username:</b><form:input path="username"/><br/>
            <b>Name:</b><form:input path="name"/><br/>
            <b>Password:</b><form:input path="password" type="password"/><br/>
		    <input type="submit" value="Save" />
	</form:form>
</body>
</html>